Set RGB and Brightness of LED

  • Function:

  • Description: Set RGB and Brightness of LED

  • Parameter:

    • port: controller port. data type: int, range: port1~port6
    • position of light. data type: int, range: 1~3
    • R: brightness value of red. data type: int, range: 0~255
    • G: brightness value of green. data type: int, range: 0~255
    • B: brightness value of blue. data type: int, range: 0~255
    • brightness: brightness percentage. data type: int, range: 0~100
  • Return: null

results matching ""

    No results matching ""